package com.zz.hhbl.entity

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @property type String  Type:类型：包含5种类型。分别是：app:当前APP；spot景点基本信息；tourGuideCommentary：讲解词；digitalHuman：数字人；electronicFence：电子围栏
 * @property url String  app的下载地址
 * @property version String  版本号
 * @constructor
 */
@Parcelize
data class VersionEntity(
    val type: String? = "",
    val url: String? = "",
    val version: String? = ""
): Parcelable

@Parcelize
data class LanguageEntity(
    val lang: String? = "",
    val name: String? = "",
): Parcelable

@Parcelize
data class VersionWrapEntity(
    val data:List<VersionEntity>?,
    val langlist:List<LanguageEntity>?,
): Parcelable

enum class VersionType(val type:String) {
    APP("APP"),
    SPOT("spot"),
    TOUR_GUIDE_COMMENTARY("tourGuideCommentary"),
    DIGITAL_HUMAN("digitalHuman"),
    ELECTRONIC_FENCE("electronicFence")
}